package com.tlsy.commerce.dao;

import com.tlsy.commerce.model.Role;
import com.tlsy.commerce.model_enum.RoleTypeEnum;
import com.tlsy.commerce.model_enum.StatusEnum;

import java.util.List;

/**
 * @author Tlsy
 * @version commerce 0.0.1
 * @date 2017/4/20  11:06
 */
public interface RoleDao extends IBaseDao<Role,String> {

    List<Role> findRolesByTypeAndAndStatus(RoleTypeEnum typeEnum, StatusEnum statusEnum);
}
